package com.wx.web.controller;

import com.wx.web.feign.ComputeClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description 腾讯
 * @Author lijing1@wxchina.com
 * @Date 2020/6/16 13:57
 **/
@RestController
public class TestController {


    @Autowired
    private ComputeClient computeClient;

    @GetMapping("/tx/now")
    public String test() {
        return "feign invoked result:\t" + computeClient.test();
    }


}
